﻿using System.Collections.Generic;
using BLL.Services.WikiCategories.Listing;

namespace BLL.Services.WikiCategories
{
    public interface IWikiCategoryService
    {
        IEnumerable<WikiCategory> SelectAll();

            WikiCategory GetById(int wikiCategoryId);

        void Create(WikiCategory wikiCategory);

        void Save(WikiCategory wikiCategory);

        void Delete(int wikiCategoryId);

        bool ValidateWikiCategory(int wikiCategoryId, string name);

        WikiCategoryListing GetWikiCategoryListing(
            int page, int size, string column, int direction, WikiCategoryFilter filter);
    }
}
